Skip to contentSkip to conversation

--set-counters help

DISCUSSION 박지연 2 participants 2 messages Aug 13, 2003

lore
Share & tools
lore
#1 lore raw

Am Mit, 2003-08-13 um 09.05 schrieb 박지연:

Quoted 2 lines

Can I change PKTS and BYTES's counters of uniq IP in uniq Chain to 0 form "the --set-counter 0 0 option" of iptables

I do not know if I understood you correctly, but you can replace an existing rule and set the counters.

iptables -R mychain rulenum ruledefinition --set-counters

Cheers,
Ralf

Signature · 6 lines
Ralf Spenneberg
RHCE, RHCX

Book: Intrusion Detection für Linux Server   http://www.spenneberg.com
IPsec-Howto				     http://www.ipsec-howto.org
Honeynet Project Mirror:                     http://honeynet.spenneberg.org